/* SkyTraq Venus 634FLPx binary parser - public interface */

/* Copyright (C) 2010 David Zanetti
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; version 2 of the License.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/* Initalise the chip. This includes any serial port setup required */

#ifndef VENUS634_H_
#define VENUS634_H_

#include "ArdyCore/WProgram.h"


void venus634_init(void (*ptBegin)(void), void (*ptWrite)(uint8_t));

/* main processing loop - should be called when we have data in the
   RX ringbuffer */
void venus634_process(int (*ptAvailable)(void), uint8_t (*ptRead)(void), int *Xcoord, int *Ycoord, int *Zcoord);


#endif /* Venus634_H_ */


